package com.taotao.manage.pojo;

import javax.persistence.Table;

@Table(name = "tb_item_cat")
public class ItemCatTree extends ItemCat {

    public String getState(){
        return this.getIsParent() ? "closed" : "open";
    }

    public String getText(){
        return this.getName();
    }
}
